package com.qf.day06.customfactory.service.impl;

import com.qf.day06.customfactory.entity.User;
import com.qf.day06.customfactory.service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public User getUser(Integer id) {
        System.out.println("UserServiceImpl的getUser方法执行了");
        User user=new User();
        user.setId(id);
        user.setName("李四");
        return user;
    }
}
